package com.nanjia.boot.common.enums;

import com.nanjia.boot.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author 周洋
 * @since Created in 2025 2025/7/14 16:34
 */
@Getter
public enum StockFlowEnum implements IBaseEnum<Integer> {

    SFE1(1, "采购入库"),
    SFE2(2, "销售出库"),
    SFE3(3, "调拨入库"),
    SFE4(4, "调拨出库"),
    SFE5(5, "库存调整"),
    SFE6(6, "订单锁定"),
    SFE7(7, "订单释放"),
    SFE8(8, "退货入库"),
    SFE9(9, "损耗入库"),
    //记录在盘点过程中发现库存差异，进行的库存调整。
    SFE10(10, "盘点调整"),
    SFE11(11, "赠品入库"),
    SFE12(12, "赠品出库"),
    //用于记录不属于常规类型的库存出库操作，如样品赠送等。
    SFE13(13, "其他出库"),
    SFE14(14, "其他入库"),
    SFE15(15, "调拨申请"),
    SFE16(16, "跨仓库调拨"),
    SFE17(17, "盘亏调整"),
    SFE18(18, "库存冻结"),
    SFE19(19, "库存解冻"),
    SFE20(20, "移库"),
    SFE21(21, "销售发货"),
    SFE22(22, "进货退货"),
    SFE23(23, "借出"),
    SFE24(24, "调库"),
    SFE25(25, "销售退货"),
    SFE26(26, "进货"),
    SFE27(27, "借出还回"),;


    private final Integer value;


    private final String label;

    StockFlowEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
